package com.example.jussi.alipatstander;

import android.app.Activity;
import android.os.Bundle;
import android.view.MotionEvent;

/**
 * Created by admin on 2018/12/10.
 */

public interface AlipayInterface {
    public void onCreate(Bundle savedInstanceState);
    public void onStart();
    public void onResume();
    public void onPause();
    public void onStop();
    public void onDestroy();
    public void onSaveInstanceState(Bundle outState);
    public boolean onTouchEvent(MotionEvent event);
    public void onBackPressed();

    /**
     * 需要支付宝给淘票票注入 上下文
     */
    public void attach(Activity activity);
}
